﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 暑假作业
{
    public partial class InStock : Form
    {
        public InStock()
        {
            InitializeComponent();
        }
        //添加窗体
        private void 添加ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            InStock_add inStock_Add = new InStock_add();
            inStock_Add.Show();
        }
        //展示数据
        private void InStock_Load(object sender, EventArgs e)
        {
            comboBox1.SelectedIndex = 0;
            comboBox2.SelectedIndex = 0;
        }

        private void InStock_FormClosing(object sender, FormClosingEventArgs e)
        {
            Form1 form1 = new Form1();
            form1.Show();
        }
    }
}
